<template>
	<div>
    <el-button class="btn1" @click="handleClick" type="info" plain>{{this.mydata.name}}</el-button>
	</div>
</template>

<script>
	export default {
		name:"filmItem",
		props:["mydata"],
		data() {
			return {

			};
		},
		methods:{
		    handleClick(){
		        // console.log(this.mydata.name)
		        // this.$emit("event",this.receive(this.mydata.id))
          this.$emit("event",this.mydata.id)
		    }
		}
	}
</script>

<style>
  .btn1{
    margin-bottom: 10px;
    width: 150px;
    padding: 10px 30px;
  }
</style>
